package com.xbongbong.pro.enums.menu.enums;

import com.xbongbong.i18n.util.I18nMessageUtil;
import com.xbongbong.pro.enums.AccessLinkEnum;
import lombok.Getter;
import lombok.Setter;

/**
 * 移动端 我的-设置
 * 创建时间 2019/5/6 2:40 PM
 * 修改时间 2019/5/6 2:40 PM
 * @author chy
 * @since v1.0
 * @version v1.0
 */
@Getter
public enum MySetMenuEnum {

    COMMON_FORM_MANAGE("enum.mySetMenu.name.common_form_manage", AccessLinkEnum.COMMON_FORM_MANAGE),

    MENU_MODE_SET("enum.mySetMenu.name.menu_mode_set", AccessLinkEnum.MENU_MODE_SET),

    FAST_NEW_SET("enum.mySetMenu.name.fast_new_set", AccessLinkEnum.FAST_NEW_SET),

    CUSTOMIZE_INDEX_SET("enum.mySetMenu.name.customize_index_set", AccessLinkEnum.CUSTOMIZE_INDEX_SET),

    WORK_BOARD_SET("enum.mySetMenu.name.work_board_set", AccessLinkEnum.WORK_BOARD_SET),

    PERFORMANCE_SET("enum.mySetMenu.name.performance_set", AccessLinkEnum.PERFORMANCE_SET),

    SIGN_IN_SET("enum.mySetMenu.name.sign_in_set", AccessLinkEnum.SIGN_IN_SET),

    ALIYUN_CALLCCENTER_SET("enum.mySetMenu.name.aliyun_callcenter_set", AccessLinkEnum.ALIYUN_CALLCCENTER_SET),

    ;

    private String name;

    private AccessLinkEnum accessLinkEnum;

    MySetMenuEnum(String name, AccessLinkEnum accessLinkEnum) {
        this.name = name;
        this.accessLinkEnum = accessLinkEnum;
    }

    public String getName() {
        return I18nMessageUtil.getMessage(name);
    }

    public AccessLinkEnum getAccessLinkEnum() {
        return accessLinkEnum;
    }

    public void setAccessLinkEnum(AccessLinkEnum accessLinkEnum) {
        this.accessLinkEnum = accessLinkEnum;
    }
}
